html,
body,
:global(#root) {
  height: 100%;
}

:global(.ant-layout) {
  min-height: 100%;
}

canvas {
  display: block;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

// temp fix for https://github.com/ant-design/ant-design/commit/a1fafb5b727b62cb0be29ce6e9eca8f579d4f8b7
:global {
  .ant-spin-container {
    overflow: visible !important;
  }

  .global-spin {
    width: 100%;
    margin: 40px 0 !important;
  }

  .ant-table-thead {
    font-weight: bolder;
    background-color: rgba(114, 46, 209, 0.5);
  }

  //主订单表格行背景色
  .orderParent {
    background-color: #ee11c2;
  }

  .orderWarning {
    background-color: #fadb14;
  }

  .income {
    background-color: #fa541c;
  }

  //可编辑表格样式
  .editable-row .ant-form-explain {
    position: absolute;
    font-size: 12px;
    margin-top: -10px;
  }
}
